services.postgresqlWalReceiver.receivers.<name>.compress
Enables gzip compression of write-ahead logs, and specifies the compression level
(0 through 9, 0 being no compression and 9 being best compression).
The suffix .gz will automatically be added to all filenames.
This option requires PostgreSQL >= 10.
- Type
integer between 0 and 9 (both inclusive)- Default
0- Declared
- <nixpkgs/nixos/modules/services/backup/postgresql-wal-receiver.nix>